package com.infore.authorityManagement.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**  
* @ClassName: RolePermission  
* @Description: 角色权限关系表  
* @author 谭红波  
* @date 2017年9月12日  
*/ 
@Entity
@Table(name = "sys_role_permission")
public class SysRolePermission implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id")
    private String id;
    
    @Column(name = "role_id")
    private String roleId;         //角色id
    
    @Column(name = "permission_id")
    private String permissionId;       //权限Id
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getRoleId() {
        return roleId;
    }
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public String getPermissionId() {
        return permissionId;
    }
    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
}
